package com.vancouver.knows.business.bean;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;

/**
 * Created by Chris Li on 2016-07-14.
 */
public class FilterArgs {

    private List<Category> categories = new ArrayList<>();
    private List<String> cities = new ArrayList<>();

    public FilterArgs() {}

    public List<Category> getCategories() {
        return categories;
    }

    public void setCategories(List<Category> categories) {
        this.categories = categories;
    }

    public List<String> getCities() {
        return cities;
    }

    public void setCities(List<String> cities) {
        this.cities = cities;
    }

    public static class Category {

        private String category;
        private Set<String> subcategories;

        public Category() {}

        public Category(String category, Set<String> subcategories) {
            this.category = category;
            this.subcategories = subcategories;
        }

        public Set<String> getSubcategories() {
            return subcategories;
        }

        public void setSubcategories(Set<String> subcategories) {
            this.subcategories = subcategories;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }
    }

}
